package com.movitech.mobile.cz.base.supplier.mapper.ext;

import com.movitech.mobile.cz.base.supplier.entity.SMyDeals;
import com.movitech.mobile.cz.base.supplier.entity.ext.ExtSMyDeals;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 我的待办已办 Mapper 接口
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-06
 */
@Component
@Mapper
public interface ExtSMyDealsMapper extends BaseMapper<SMyDeals> {

	List<SMyDeals> getMyDealsListByUserAndStatus(Map<String, Object> map);

	List<SMyDeals> getOuterDealsList(Map<String, Object> map);

	int getToDoOrDoneListCounts(Map<String, Object> map);

	long getMyDealListByParamsCounts(Map<String, Object> map);

	List<ExtSMyDeals> getMyDealListByParams(Map<String, Object> map);

}
